<?php
include "./common.php";
!$_GET['contentid'] && showmessage("参数错误！");

$contentid = $_GET['contentid'];


$query = $db->query("SELECT * FROM ".tname("news")." WHERE id='$contentid'");
$rs = $db->fetch_array($query);


extract($rs);

include template("news");
?>